const Mock = require("mockjs");
function chart(method) {
  let res = null;
  switch (method.toUpperCase()) {
    case "GET":
      res = new Array(6).fill(0).map(() => Mock.mock("@natural(1, 200)"));
      break;
    default:
      res = null;
  }
  return res;
}

module.exports = chart;
